package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 判断/填空题管理对象 judgmentquestions
 * 
 * @author ruoyi
 * @date 2022-08-19
 */
public class Judgmentquestions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private Long id;

    /** 题目 */
    @Excel(name = "题目")
    private String topic;

    /** 答案 */
    @Excel(name = "答案")
    private String topicAnswer;

    /** 题目类型 */
    @Excel(name = "题目类型")
    private String topicType;

    /** 题目分类 */
    @Excel(name = "题目分类")
    private Long topicName;

    /** 分值 */
    @Excel(name = "分值")
    private Long topicFraction;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTopic(String topic) 
    {
        this.topic = topic;
    }

    public String getTopic() 
    {
        return topic;
    }
    public void setTopicAnswer(String topicAnswer) 
    {
        this.topicAnswer = topicAnswer;
    }

    public String getTopicAnswer() 
    {
        return topicAnswer;
    }
    public void setTopicType(String topicType) 
    {
        this.topicType = topicType;
    }

    public String getTopicType() 
    {
        return topicType;
    }
    public void setTopicName(Long topicName) 
    {
        this.topicName = topicName;
    }

    public Long getTopicName() 
    {
        return topicName;
    }
    public void setTopicFraction(Long topicFraction) 
    {
        this.topicFraction = topicFraction;
    }

    public Long getTopicFraction() 
    {
        return topicFraction;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("topic", getTopic())
            .append("topicAnswer", getTopicAnswer())
            .append("topicType", getTopicType())
            .append("topicName", getTopicName())
            .append("topicFraction", getTopicFraction())
            .toString();
    }
}
